GetEth0Info. Get Ethernet network address information.
Request
<?xml version="1.0"
encoding="utf-8"?>
<sdk guid="##GUID">
<inmethod="GetEth0Info"/>
</sdk>
Respond
<?xml version="1.0" encoding="utf-8"?>
<sdk guid="##GUID">
<out method="GetEth0Info" result="##result">
<eth valid="##valid">
<enable
value="##enable"/>
<dhcp
auto="##dhcp"/>
<address
ip="##ip" netmask="##netmask" gateway="##gateway"
dns="##dns"/>
</eth>
</out>
</sdk>
<!--
Description:
1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.
2. out.method =
"GetEth0Info"
3. out.result : (The error code refers toErrorCode
4. out.result :(When
the value is not "kSuccess", out has no child nodes.)
5. eth.valid =
"true"
6. enable.value :Value range {"true" (wired network
access), "false" (wired network not connected)}
7. dhcp.autoValue : range {"true" (dhcp gets ip address), "false" (static ip address)}
8. address.ip :(IP address)
9. address.netmask : (netmask)
10.address.gateway :
(gateway)
11.address.dns : (DNS)
-->